<template>
  <el-sub-menu index="4">
    <template #title>工具箱</template>
    <el-menu-item index="4-1" @click="measureDistance">测量距离</el-menu-item>
    <el-menu-item index="4-2" @click="measureArea">测量面积</el-menu-item>
    <el-menu-item index="4-3" @click="closeMeasure">结束测量</el-menu-item>
    <el-menu-item index="4-4" @click="exportImg">导出图片</el-menu-item>
  </el-sub-menu>
</template>

<script setup>
import { useMapgisStore } from '@/stores/mapgis.js'
const {  measureDistance,measureArea, closeMeasure, exportImg } = useMapgisStore()
</script>

<style scoped></style>
